package com.ra.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.github.pagehelper.Page;
import com.ra.pojo.Article;
import com.ra.pojo.dto.ArticleAdminDTO;
import com.ra.pojo.dto.ConditionDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 今晚几点睡_Ada
 * @since 2023-03-09
 */
@Repository
public interface ArticleMapper extends BaseMapper<Article> {
    List<ArticleAdminDTO> listArticlesAdminByPage(@Param("conditionDTO") ConditionDTO conditionDTO);
    Long queryArticlesAdminCurrentByPage(@Param("conditionDTO") ConditionDTO conditionDTO);
}
